package manager_service.service;

import test_common.entity.Resource;
import test_common.entity.ResourceVo;

import java.util.Date;
import java.util.List;

/**
 * @author zhangzheng
 * @create 2021/1/8
 */
public interface BackResourceService {
    public void addResource(Resource resource);
    public List<ResourceVo> showResources(String userId, String chapterId, String courseId);
    public void modifyStatus(Integer id);
    List<ResourceVo> searchResources(String title, String userId, String status, String fileType, Date dateStart,Date dateEnd,String courseId,String chapterId);
    public Resource selectResource(String id);
    public void modifyResource(Resource resource);
}
